<script setup>
import {inject} from "vue";
const count = inject("count")


// 在供给方组件中
import { provide } from 'vue'
import { myInjectionKey, myInjectionKey1 } from './key.js'

provide(myInjectionKey, { /*
  要提供的数据
*/ });

provide(myInjectionKey1, { /*
  要提供的数据
*/ });

</script>

<template>
{{count}}
</template>

<style scoped>

</style>